ScaleGestureDetectorCompat

Helper for accessing features in ScaleGestureDetector.

Functions

Link copied to clipboard
open fun isQuickScaleEnabled(@NonNull scaleGestureDetector: ScaleGestureDetector): Boolean
open fun isQuickScaleEnabled(scaleGestureDetector: Any): Boolean
Returns whether the quick scale gesture, in which the user performs a double tap followed by a swipe, should perform scaling.
Link copied to clipboard
open fun setQuickScaleEnabled(@NonNull scaleGestureDetector: ScaleGestureDetector, enabled: Boolean)
open fun setQuickScaleEnabled(scaleGestureDetector: Any, enabled: Boolean)
Sets whether the associated ScaleGestureDetector.OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe.